<linkset>
  <html:link rel="localization" href="fulltrans-preferences.ftl" />
</linkset>
<html:style>
  .hbox {
  display: flex;
  flex-direction: row;
  justify-items: center;
  align-items: center;
  }
  .vbox {
  display: flex;
  flex-direction: column;
  justify-items: center;
  align-items: left;
  }
  .vbox>* {
  margin: 2.5px 0;
  }

  .card {
  width: 15em;
  }
  .tip {
  opacity: .5;
  }
  .input-text{
  width: 3em;
  text-align: right;
  }
  #circle{
  width: .8em;
  height: .8em;
  border-radius: 50%;
  }
  .breath {
  animation: breath 2s ease-in-out infinite;
  }
  @keyframes breath {
  0% {
  opacity: 1;
  }
  50% {
  opacity: .5;
  }
  100% {
  opacity: 1;
  }
  }
</html:style>
<vbox id="zotero-prefpane-fulltrans" onload="Zotero.FullTrans.hooks.onPrefsEvent('load', {window})">
  <groupbox>
    <html:div class="vbox">
      <html:div class="hbox">
        <label>双屏默认开启</label>
        <menulist native="true" preference="extensions.zotero.fulltrans.fulltextTranslate.splitOrientation">
          <menupopup>
            <menuitem value="Horizontal" label="水平">
            </menuitem>
            <menuitem value="Vertical" label="垂直">
            </menuitem>
          </menupopup>
        </menulist>
      </html:div>
      <html:div class="hbox">
        <label>全文翻译位置</label>
        <menulist native="true" preference="extensions.zotero.fulltrans.fulltextTranslate.translatedView">
          <menupopup>
            <menuitem value="primary" label="原窗口">
            </menuitem>
            <menuitem value="secondary" label="新窗口">
            </menuitem>
          </menupopup>
        </menulist>
      </html:div>
      
      <hbox style="display: inline-block;">
        <label>翻译快捷键:</label>
        <html:input type="text" class="shortcut" style="width: 8em;"
                    preference="extensions.zotero.fulltrans.fulltextTranslate.shortcut">
        </html:input>
        <label style="opacity: 0.5;">需要重启</label>
      </hbox>
      <hbox style="display: inline-block;">
        <label>双屏快捷键:</label>
        <html:input type="text" class="shortcut" style="width: 8em;"
                    preference="extensions.zotero.fulltrans.fulltextTranslate.split.shortcut">
        </html:input>
        <label style="opacity: 0.5;">需要重启</label>
      </hbox>

      <html:div class="hbox">
        <label>导出PDF文件到主条目作为</label>
        <menulist native="true" preference="extensions.zotero.fulltrans.fulltextTranslate.importOrLink">
          <menupopup>
            <menuitem value="import" label="副本">
            </menuitem>
            <menuitem value="link" label="链接">
            </menuitem>
          </menupopup>
        </menulist>
      </html:div>
      <html:div class="hbox">
        <checkbox native="true" label="导出PDF添加标签"
                  preference="extensions.zotero.fulltrans.fulltextTranslate.isAddTagToExportPDF" />
        <html:input class="card" type="text"
                    preference="extensions.zotero.fulltrans.fulltextTranslate.tagToExportPDF">
        </html:input>
      </html:div>

      <html:div class="hbox">
        <label>字体文件-正文</label>
        <html:input type="text" style="width: 80%;"
                    preference="extensions.zotero.fulltrans.fulltextTranslate.bodyFontFile"></html:input>
      </html:div>
      <html:div class="hbox">
        <label>字体文件-标题</label>
        <html:input type="text" style="width: 80%;"
                    preference="extensions.zotero.fulltrans.fulltextTranslate.titleFontFile"></html:input>
      </html:div>

      <checkbox native="true" label="忽略副标题"
                preference="extensions.zotero.fulltrans.fulltextTranslate.isIgnoreSubtitle" />
      <checkbox native="true" label="忽略参考文献"
                preference="extensions.zotero.fulltrans.fulltextTranslate.isIgnoreReference" />
      <checkbox native="true" label="鼠标悬停显示原文"
        preference="extensions.zotero.fulltrans.fulltextTranslate.isShowRawText" />




    </html:div>

  </groupbox>
</vbox>